package edu.neusoft.springmvc.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import edu.neusoft.springmvc.dao.StudentDao;
import edu.neusoft.springmvc.model.Student;
import edu.neusoft.springmvc.service.StudentService;

@Service
public class StudentSerivceImpl implements StudentService {
  @Resource
  private StudentDao studentDao;

  @Override
  public Student findStuByIdcard(String idCard) {

    return studentDao.findStudentById(idCard);
  }

}
